package co.fitstart.weapp.api.service;

import java.util.List;

import co.fitstart.entity.credit.Credit;
import co.fitstart.entity.credit.CreditTransaction;
import co.fitstart.entity.user.User;

/**
 * 
 * @author dan
 *
 */
public interface CreditService {

    /**
     * 
     * @param credit
     * @return
     */
    public List<CreditTransaction> listCreditTransaction(Credit credit);

    /**
     * @param user
     * @return
     */
    public Credit generallyLoad(User user);
}
